Functions with Unicode (W) Versions

The following TAPI functions are implemented in Unicode (W) and ANSI (A) versions. In general, the implementation of the ANSI version calls the Unicode version and performs necessary conversions of ANSI parameters and structure fields to and from Unicode; the following table indicates the parameters that are converted.

Applications that explicitly call the generic (neither "W" or "A" suffix) version of a function will execute the ANSI version, for backward compatibility with previous versions of TAPI.

 

Note  The entire Telephony Service Provider Interface (TSPI) is Unicode for version 2.0.

 

In the following table, references to string fields in TAPI structures consist of a portion of the field names. For example, the "Caller Address" in the LINEFORWARD40JUYZP structure is pointed to by a field named dwCallerAddressOffset and delimited by a field named dwCallerAddressSize; in the table, this string is identified simply as CallerAddress.

TAPI Function

Parameters and Structure Fields Converted in ANSI Version of Function

lineAddProviderDQZBZX

lpszProviderName

lineBlindTransfer0JTT52

lpszDestAddress

lineConfigDialog71035C

lpszDeviceClass

lineConfigDialogEdit136CGS2

lpszDeviceClass

Note  Application must handle conversion of strings in lpDeviceConfigIn and lpDeviceConfigOut, if these are directly manipulated.

lineDial85LEMN

lpszDestAddress

lineForward3377_AR

lpForwardList (LINEFORWARDLIST14KQMDP)

    ForwardList (LINEFORWARD40JUYZP)

    CallerAddress

    DestAddress

lpCallParams (LINECALLPARAMS7.S3SE)

    OrigAddress

    DisplayableAddress

    CalledParty

    Comment

    TargetAddress

    DeviceClass

    CallingPartyID

lineGatherDigits2F76WP

lpsDigits

lpszTerminationDigits

lineGenerateDigitsEXYOHI

lpszDigits

lineGetAddressCapsN4KBZ3

lpAddressCaps (LINEADDRESSCAPSPFGP43)

    Address

    CompletionMsgText

    DeviceClasses

    CallTreatmentList (LINECALLTREATMENTENTRY1JUJ625)

    CallTreatmentName

lineGetAddressIDYE9GMK

lpsAddress

lineGetAddressStatus2201_FO

lpAddressStatus (LINEADDRESSSTATUSGM12S3)

    Forward (LINEFORWARD40JUYZP)

    CallerAddress

    DestAddress

lineGetAgentActivityList29FDBVP

lpAgentActivityList (LINEAGENTACTIVITYLIST_YXMND)

    List (LINEAGENTACTIVITYENTRY10IR1OQ)

    Name

lineGetAgentCapsBA_7EG

lpAgentCaps (LINEAGENTCAPS9UVIRB)

    AgentHandlerInfo

lineGetAgentGroupListKM5A7L

lpAgentGroupListI(LINEAGENTGROUPLIST.D1TA5)

    List (LINEAGENTGROUPENTRYAW9NX6)

    Name

lineGetAgentStatusSBIX8N

lpAgentStatus (LINEAGENTSTATUSFP.8N.)

    Activity

    GroupList (LINEAGENTGROUPENTRYAW9NX6)

    Name

lineGetAppPriority6SLJGF

lpszAppFilename

lpExtensionName

lineGetCallInfo1UPWZV0

lpCallInfo (LINECALLINFO5R_QHB)

    CallerID

    CallerIDName

    CalledID

    CalledIDName

    ConnectID

    ConnectedIDName

    RedirectionID

    RedirectionIDName

    RedirectingID

    RedirectingIDName

    AppName

    DisplayableAddress

    CalledParty

    Comment

lineGetCountryBRM_2E

lpLineCountryList (LINECOUNTRYLISTA_AS4O)

    CountryList (LINECOUNTRYENTRYEQ0EOG)

    CountryName

    SameAreaRule

    LongDistanceRule

    InternationalRule

lineGetDevCapsFJ5UCZ

lpLineDevCaps (LINEDEVCAPSBJCCRA)

    ProviderInfo

    SwitchInfo

    LineName

    TerminalText

    DeviceClasses

Note  dwStringFormat is obsolete.

LineGetDevConfig19SYTUS

lpszDeviceClass

Note  Application must handle conversion of strings in lpDeviceConfig, if these are directly manipulated.

LineGetIconC5CAK7

lpszDeviceClass

lineGetID4OL17WJ

lpszDeviceClass

Note  Application must handle conversion of strings in lpDeviceID, if these are directly manipulated.

LineGetLineDevStatus38.3VV

lpLineDevStatus (LINEDEVSTATUS54R1YX5)

    AppInfo (LINEAPPINFO)

    MachineName

    UserName

    ModuleFilename

    FriendlyName

lineGetProviderList29GH_BO

lpProviderList (LINEPROVIDERLIST9.AL6V)

    ProviderList (LINEPROVIDERENTRY1ZQZAEP)

    ProviderFilename

lineGetRequest0YN858

lpRequestBuffer (LINEREQMAKECALL1BLX_Q.

    szDestAddress

    szAppName

    szCalledParty

    szComment

lineGetTranslateCaps5MP1BU

lpTranslateCaps (LINETRANSLATECAPS5PWH.X)

    CardList (LINECARDENTRYPE3HLY)

    CardName

    SameAreaRule

    LongDistanceRule

    InternationalRule

    LocationList (LINELOCATIONENTRY1MBM3JD

    LocationName

    CityCode

    LocalAccessCode

    LongDistanceAccessCode

    TollPrefixList

    celCallWaiting

lineHandoffLQ2MUJ

lpszFileName

lineInitializeEx18GE4YT

lpszFriendlyAppName

lineMakeCallCSIH7C

lpszDestAddress

lpCallParams (LINECALLPARAMS7.S3SE)

    OrigAddress

    DisplayableAddress

    CalledParty

    Comment

    TargetAddress

    DeviceClass

    CallingPartyID

lineOpen85WLQP

lpCallParams (LINECALLPARAMS7.S3SE)

    OrigAddress

    DisplayableAddress

    CalledParty

    Comment

    TargetAddress

    DeviceClass

    CallingPartyID

linePark1GHE_7B

lpszDirAddress

lpNonDirAddress (VARSTRINGFZOPJB)

    String

linePickupNIB6EE

lpszDestAddress

lpszGroupID

linePrepareAddToConference48VP_HE

lpCallParams (LINECALLPARAMS7.S3SE)

    OrigAddress

    DisplayableAddress

    CalledParty

    Comment

    TargetAddress

    DeviceClass

    CallingPartyID

lineRedirectFC72XS

lpszDestAddress

lineSetAppPrioritySDTXKX

lpszAppFilename

lpszExtensionName

lineSetDevConfigI9Z_MN

lpszDeviceClass

Note  Application must handle conversion of strings in lpDeviceConfig, if these are directly manipulated.

lineSetTollList5KOT_JT

lpszAddressIn

lineSetupConference33N2CVI

lpCallParams (LINECALLPARAMS7.S3SE)

    OrigAddress

    DisplayableAddress

    CalledParty

    Comment

    TargetAddress

    DeviceClass

    CallingPartyID

lineSetupTransferA4E6KL

lpCallParams (LINECALLPARAMS7.S3SE)

    OrigAddress

    DisplayableAddress

    CalledParty

    Comment

    TargetAddress

    DeviceClass

    CallingPartyID

lineTranslateAddress7VLD64

lpszAddressIn

lpTranslateOutput (LINETRANSLATEOUTPUT2_GZMO4)

    DialableString

    DisplayableString

lineTranslateDialog03Z_I.

lpszAddressIn

lineUnpark1EWZVYP

lpszDestAddress

phoneConfigDialog1E9NGCV

lpszDeviceClass

phoneGetButtonInfo2_K6OVP

lpButtonInfo (PHONEBUTTONINFOLJ8WG_)

    ButtonText

phoneGetDevCaps5PVF_T5

lpPhoneCaps (PHONECAPSED9H_G)

    ProviderInfo

    PhoneInfo

    PhoneName

    DeviceClasses

Note  dwStringFormat is obsolete.

phoneGetIconM6ATQ9

lpszDeviceClass

phoneGetIDCQL49I

lpszDeviceClass

Note  Application must handle conversion of strings in lpDeviceID, if these are directly manipulated.

phoneGetStatus1CGHX62

lpPhoneStatus (PHONESTATUSSGB4.G)

    OwnerName

phoneInitializeExE45JM7

lpszFriendlyAppName

phoneSetButtonInfoFT96BV

lpButtonInfo (PHONEBUTTONINFOLJ8WG_)

    ButtonTest

tapiGetLocationInfo6VBQDQ

lpszCountryCode

lpszCityCode

tapiRequestMakeCallNUVPRG

lpszDestAddress

lpszAppName

lpszCalledParty

lpszComment